<template>
    <div class='home-wrapper'>
        <input type="text">
        home
        <div>
            <span>清除组件</span>
            <input type="text" v-model="inputVal">
            <div @click="delCache">清除</div>
        </div>
    </div>
</template>

<script>
export default {
    name: 'homePage',
    components: {},
    props: [],
    data() {
        return {
            inputVal:''
        }
    },
    created() {

    },
    mounted() {
        console.log('homepage',this.$vnode,this);  


    },
    methods: {
        delCache(){
            this.$utils.removeCacheFn(this.$vnode.parent,this.inputVal)
        }
    }
}
</script>

<style lang='' scoped>

</style>